package builder;

public class Main {

    private static void testTextBuilder(){
        TextBuilder textBuilder = new TextBuilder(new StringBuilder());
        Director director = new Director(textBuilder);
        director.construct();
        System.out.println(textBuilder.getStringBuilder().toString());
    }

    private static void testHTMLBuilder() throws Exception{
        HTMLBuilder htmlBuilder = new HTMLBuilder("/Users/unixman/Desktop/Untitled-1.html");
        Director director = new Director(htmlBuilder);
        director.construct();
    }

    public static void main(String[] args) throws Exception {
        testTextBuilder();
        testHTMLBuilder();
    }
}
